package cn.liuweiwei.mapper;


import cn.liuweiwei.domain.ImgFile;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FileMapper {
    void insert(ImgFile imgFile);

    void delete(String id);

    List<ImgFile> findAll();

    List<ImgFile> findByFileName(String name);

    ImgFile findById(String id);
}
